import { Router } from 'express'
import * as Login from '../controlers/login.js'

const loginRouter = Router()

/**
 * 注册接口
 */
loginRouter.post('/register',Login.register)

/**
 * 登录接口
 */
loginRouter.post('/login',Login.login)





export default loginRouter